
import request from '@/utils/request';

// 查询列表
export async function queryLevel(params) {
  return request('/b/sensitivelevel/queryPageList ', {
    method: 'POST',
    data: params,
  });
}
// 新增
export async function addLevel(params) {
  return request('/b/sensitivelevel/add', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function removeLevel(params) {
  return request('/b/sensitivelevel/delete', {
    method: 'POST',
    data: params,
  });
}

// 修改
export async function updateLevel(params) {
  return request('/b/sensitivelevel/update', {
    method: 'POST',
    data: params,
  });
}

// 校验
export async function checkSensitiveLeveRule(params) {
  return request('/b/sensitivelevel/checkSensitiveLeveRule', {
    method: 'POST',
    data: params,
  });
}

// 敏感字段
export async function querySensitiveWordsList(params) {
  return request('/b/sensitivelevel/querySensitiveWordsList', {
    method: 'POST',
    data: params,
  });
}
